//
//  StopWatch.swift
//  RKTemplate
//
//  Created by zhaoke on 2023/7/24.
//

import Foundation
import UIKit

protocol StopWatchType {
    var counter: Double { get set }
    var timer: Timer { get set }
    var running: Bool { get set }
}
class StopWatch: StopWatchType {
    var counter: Double
    var timer: Timer
    var running: Bool
    init() {
        counter = 0.0
        timer = Timer()
        running = false
    }
}
